#include <controls/contextmenu/cxicontextmenuitem.h>
#include <private/contextmenu/cxicontextmenuitem_p.h>
CxiContextMenuItem::CxiContextMenuItem(QObject* parent)
	: QAction(parent),
	  d_ptr(new CxiContextMenuItemPrivate(this))
{
	Q_D(CxiContextMenuItem);
	d->init();
}
CxiContextMenuItem::CxiContextMenuItem(const QString& text, QObject* parent)
	: QAction(text, parent), d_ptr(new CxiContextMenuItemPrivate(this))
{
	Q_D(CxiContextMenuItem);
	d->init();
}

CxiContextMenuItem::CxiContextMenuItem(const QIcon& icon, const QString& text, QObject* parent)
	: QAction(icon, text, parent), d_ptr(new CxiContextMenuItemPrivate(this))
{
	Q_D(CxiContextMenuItem);
	d->init();
}
CxiContextMenuItem::~CxiContextMenuItem() = default;
